Automatically installing operating system specific to a detected network

ABSTRACT

Technology disclosed herein includes a method for loading a network specific operating system (OS) onto a computing device depending on a specific network the computing device is connected to. The computing device can connect to multiple networks, e.g., different networks at different times or multiple networks simultaneously. When the computing device switches from a first network to a second network, an OS specific to the second network is automatically installed on the computing device. When the computing device connects to more than one network simultaneously policies may be defined to determine which specific OS distribution is to be installed on the computing device.

PRIORITY CLAIM

This application is a continuation-in-part of U.S. patent application No. 14/042,508, entitled “CUSTOMIZING OPERATING SYSTEM BASED ON DETECTED CARRIER”, filed on Sep. 30, 2013, which claims benefit to U.S. Provisional Patent Application No. 61/708,794, entitled “CLOUD COMPUTING INTEGRATED OPERATING SYSTEM”, filed on Oct. 2, 2012, all of which are incorporated by reference herein in its entirety.

FIELD OF THE INVENTION

At least one embodiment of the present invention pertains to cloud computing, and more particularly, to automatically loading operating system based on network carrier using cloud storage.

BACKGROUND

Wireless devices, e.g., mobile phones, tablets, computers, mobile hotspot devices, etc., are manufactured for use on one or more telecommunication carrier's networks. Sometime, particular carriers apply different requirements which devices must meet in order to operate on the carrier's network. Typically manufactures and vendors of the devices modify the hardware and the software (including, e.g., operating systems) of the devices to meet carrier-specific requirements.

Users of such devices may need or desire to use the same device in communication networks of different telecommunication carriers. For instance, a user can use a mobile phone with a first carrier in one country, and needs to use the same mobile phone with a second carrier in another country when he travels abroad.

SUMMARY

Technology introduced here provides a mechanism for loading a carrier specific OS onto a computing device depending on what network the computing device is connected to. In accordance with the technology introduced here, the computing device detects an identity of a network to which a computing device is connected or is to be connected, during a network identification process executed on the computing device. There are multiple ways a network can be identified, e.g., by examining a subscriber identification module (SIM) card electronically connected to the computing device. The device then sends a request including the identity of the network to a remote registration service. In turn the device receives an instruction from the remote registration service identifying a distribution of an operating system (OS) specific for the network. Once the OS distribution is retrieved, the device loads the distribution of the operating system on the computing device.

Such a mechanism enables a user to start using a device without the need of manually setting up the device first. For instance, when a user receives a new mobile phone or mobile device, the user only needs to insert his SIM card into the device. The device can automatically detect with which network the SIM card works (e.g., which wireless carrier for the network) and correspondingly load an operating system customized for that network. When the mobile device finishes booting up, the user has a new device with a running operating system customized for that network carrier, or even further customized for that user.

In some embodiments, the device can be connected to two networks simultaneously. For example, while the device is connected to a wireless carrier network, e.g., voice and/or data service providers, the device can also be connected to another network, e.g., wireless local area network (Wi-Fi) such as a home Wi-Fi network where the user lives, a corporate Wi-Fi network of a corporation where the user works, etc. Policies can be set regarding how the operating system is to be updated in such cases. For example, when the device connects to a corporate Wi-Fi network (while still being connected to a wireless carrier network), the operating system may be updated to a distribution that is specific to the corporate Wi-Fi network from the distribution that is specific to the wireless carrier network. In another example, when the device connects to a home Wi-Fi network (while still being connected to a wireless carrier network), the operating system may not be updated. The policies may be managed and enforced by the remote registration service or the cloud storage service.

The device can connect to a second wireless carrier network from a first wireless carrier network (e.g., when the user moves out of the coverage area of the first and into the coverage area of the second wireless carrier network). In some embodiments, along with installing an operating system specific to the second network, a usage profile of the user can also be installed on the device. The usage profile can specify files that are likely to be used by the user when in the particular geographical location. The files can be retrieved from the storage service and stored in the local storage, e.g., cache, of the device.

Other aspects of the technology introduced here will be apparent from the accompanying figures and from the detailed description which follows.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other objects, features and characteristics of the present invention will become more apparent to those skilled in the art from a study of the following detailed description in conjunction with the appended claims and drawings, all of which form a part of this specification. In the drawings:

FIG. 1 illustrates an example system for mobile devices retrieving data from a cloud storage service.

FIG. 2 illustrates an example of a mobile device capable of switching operating system based on the telecommunication carrier.

FIG. 3 illustrates an example of a carrier environment with which such mobile devices can switch operating systems based on the network.

FIG. 4 illustrates an example of a message sequence chart for a mobile device switching between telecommunication networks.

FIG. 5 illustrates an example of an operating system loading process based on the identity of the network.

FIG. 6 is a high-level block diagram showing an example of the architecture of a computer device, which may represent any electronic device or any server within a cloud storage service as described herein.

DETAILED DESCRIPTION

References in this specification to “an embodiment,” “one embodiment,” or the like, mean that the particular feature, structure, or characteristic being described is included in at least one embodiment of the present invention. Occurrences of such phrases in this specification do not all necessarily refer to the same embodiment, however.

FIG. 1 illustrates an example system for mobile devices retrieving data from a cloud storage service. The system includes a cloud storage service 110 configured to store data for mobile devices. In one embodiment, the cloud storage service 110 can be a storage cluster having computer nodes interconnected with each other by a network. The storage cluster can communicate with other mobile devices (e.g., mobile devices 130 or 140) via the Internet. The cloud storage service 110 can contain storage nodes 112. Each of the storage nodes 112 contains one or more processors 114 and storage devices 116. The storage devices can include optical disk storage, RAM, ROM, EEPROM, flash memory, phase change memory, magnetic cassettes, magnetic tapes, magnetic disk storage or any other computer storage medium which can be used to store the desired information.

A cloud communication interface 120 can also be included to receive data to be stored in the cloud storage service. The cloud communication interface 120 can include network communication hardware and network connection logic to receive the information from electronic devices. The network can be a local area network (LAN), wide area network (WAN) or the Internet. The cloud communication interface 120 may include a queuing mechanism to organize the received synchronization data to be stored in the cloud storage service 110. The cloud communication interface 120 can communicate with the cloud storage service 110 to send requests to the cloud storage service 110 for storing application state data and retrieving data.

A mobile device 130 includes an operating system 132 to manage the hardware resources of the mobile device 130. The mobile device 130 includes at least one local storage device 138 to store the operating system data, application data, and user data. The mobile device 130 can retrieve data from the cloud storage service 110 via the cloud communication interface 120. The mobile device 130 or 140 can be a desktop computer, a laptop computer, a tablet computer, an automobile computer, a game console, a smart phone, a personal digital assistant, a mobile hotspot device, or other electronic devices capable of running computer applications, as contemplated by a person having ordinary skill in the art.

The computer applications 134 stored in the mobile device 130 can include applications for general productivity and information retrieval, including email, calendar, contacts, and stock market and weather information. The computer applications 134 can also include applications in other categories, such as mobile games, factory automation, GPS and location-based services, banking, order-tracking, ticket purchases or any other categories as contemplated by a person having ordinary skill in the art.

The mobile device 130 or 140 can download data from the cloud storage service to update or change the operating system 132 or 142 on the mobile device 130 or 140. The mobile device 130 or 140 can download the data using its data communication module 136 or 146. The update or change of the operating system can be triggered by various events. For instance, when the mobile device 130 detects that it has connected to a network service of a different mobile network carrier, the mobile device 130 can request data from the cloud storage service 110 for an operating system designed for the mobile device 130 running on the mobile network carrier.

FIG. 2 illustrates an example of a mobile device capable of switching operating system based on the telecommunication carrier. The mobile device 200 includes a network detection module 210. The network detection module 210 is capable of detecting the network(s) that the mobile device 200 is connected to or can be connected to. For instance, the network detection module 210 can detect whether the mobile device 200 is connected to a home Wi-Fi network, a work Wi-Fi network, or a public Wi-Fi network (e.g. airport Wi-Fi network). For example, the network detection module 210 may determine whether it's connected to a home Wi-Fi network based on the SSID (service set identifier) of the Wi-Fi network or the MAC (media access control) address of the Wi-Fi network gateway.

The network detection module 210 can also detect the mobile network carrier of the mobile network that the mobile device 200 is connected to. For instance, the network detection module 210 is able to detect whether it is connected to an AT&T or T-Mobile mobile network by communicating with a SIM (subscriber identity module) card 225 inserted in a SIM card slot 220 in the mobile device 200. In the illustrated embodiment, the network detection module 210 can request and retrieve an IMSI (international mobile subscriber identity) number or ICCID (Integrated Circuit Card Identifier) number from the SIM card, and use the IMSI number or ICCID number to determine the mobile network that the SIM card is designed to work with.

The network detection module 210 may further perform its network detection functionality when the mobile device 200 boots up and before an operating system launches on the mobile device 200. In some embodiments, the instructions for the network detection can be stored in a firmware or in a Basic Input/Output System (BIOS) of the mobile device 200. The network detection module 210 can also perform its network detection functionality during any operation stages of the mobile device 200.

Once the network detection module 210 detects the identity of the Wi-Fi or mobile network that the mobile device 200 is connected to, the mobile device 200 contacts and sends an inquiry 202 to a global registration service 280 in order to determine the type and distribution of the operating system that the mobile device 210 should run. The global registration service 280 can be implemented on a web server or on a cloud computing service. The inquiry 202 can include the identity of the connected network, an identity of the mobile device 200, or even an identity of the user using the mobile device 200. The global registration service 280 determines a suggestion of a distribution of an operating system based on the information included in the inquiry, and sends a message 204 containing an identity of the suggested distribution of the operating system back to the mobile device 210. The suggested distribution of the operating system can be a version of the operating system customized for the connected network. The inquiry 202 can be sent out via a Wi-Fi network component 230 or a mobile network component 235 that has been connected to a Wi-Fi or mobile network. Likewise, the message 204 can be received via the Wi-Fi network component 230 or the mobile network component 235.

The message 204 sent by the global registration service 280 can include a location link indicating where to retrieve the data of the suggested distribution of the operating system. For instance, the location link may include a network address of a web server or a cloud storage service 290 that stores in the suggested distribution of the operating system. The mobile device 200 is able to download the suggested distribution of the operating system from the cloud storage service 290 located by the location link in the message 204. The cloud storage service 290 can be implemented along with the global registration service 280 within a common cloud computing service. The cloud storage service 290 can also be implemented in a cloud computing service separated from the global registration service 280, as illustrated in FIG. 2.

In some embodiments, the cloud storage service may be managed by a network provider. For example, a wireless carrier network provider, such as AT&T, may manage their cloud storage service. In another example, a corporation providing a corporate Wi-Fi network can manage their cloud storage service. The network provider can either have their own cloud service infrastructure or use a cloud storage service infrastructure provided by a third-party (can be different from the global registration service 280 provider) and configure it according to their needs.

In some embodiments, a copy of the suggested distribution of the operating system can be stored in a local storage 270 of the mobile device 200. In some embodiments, a copy of the suggested distribution of the operating system can be stored in a web server within the connected mobile network of the mobile network carrier.

The suggested distribution of the operating system can be distributed to the mobile device 200 as an over-the-air update. The mobile device 200 can receive the suggested distribution of the operating system as a full image of the operating system, or as an incremental copy of the operating system including changes on the operating system or changes to the framework or applications in the operating system. In some embodiments, the installation of the OS distribution is mandatory instead of optional. The user cannot refuse, defer, or alter the update using the OS distribution. After the installation of the OS distribution, the mobile device 200 may need to reboot for the update to take effect.

In some embodiments, the suggested OS distribution includes updates that do not require the mobile device 200 to reboot. For instance, the suggested OS distribution can include asset changes, e.g. changes to the visuals of icons and taskbar or pre-load of applications. For these changes, the mobile device 200 can directly apply the updates without the need to reboot.

If there is any data duplication between the current operating system on the mobile device 200 and the suggested OS distribution, the mobile device 200 does not need to retrieve the entire suggested OS distribution. The mobile device 200 may retrieve only the difference between the current operating system on the mobile device 200 and the suggested OS distribution.

Besides detecting the identity of the Wi-Fi or mobile network that the mobile device 200 is connected to, the network detection module 210 may further detect the identity of the subscriber's number that the mobile device 200 is currently using. For instance, the network detections module 210 can detect that the current subscriber's number belong to an account for a corporation. A configuration of the operating system customized for this corporation is automatically pushed to the mobile device 200. The mobile device 200 can then automatically change the look and feel of user interfaces of the mobile device 200, based on the received configuration of the operating system for that corporation account.

In some embodiments, the functionalities of one or more modules of the mobile device 200, including the network detection module 210, the Wi-Fi network component 230 and the mobile network component 235 can be controlled by the SIM card 225. For example, the SIM card 225 can have instructions for instructing the network detection module 210 to detect network connection or disconnection, transmit the inquiry 202 to the global registration service 280, etc. In some embodiments, such instructions can be programmed into the SIM card 225 using applications such as a SIM Application Toolkit (STK).

The mobile device 200 illustrated in the FIG. 2 can work with multiple mobile network carriers or telecommunication carriers. FIG. 3 illustrates an example of a carrier environment with which such mobile devices can switch operating systems based on the network. Multiple mobile devices 302, 304, 306 can work with one or more of mobile network carriers, 310, 320, 330. For instance, mobile device 302 may be configured to operate with carriers 310 and 320. Mobile device 304 may be configured to operate with carrier 320. Mobile device 306 may be configured to work with carriers 310 and 330. The network detections modules of the mobile devices 302, 304, 306 detect the carriers to which the mobile devices are currently connected. Accordingly, certain suggested OS distribution can be distributed to the mobile devices 302, 304, 306 based on the carriers to which the mobile devices are currently connected and on the particular mobile devices.

FIG. 4 illustrates an example of a message sequence chart for a mobile device 406 switching between telecommunication networks (also referred to as mobile networks). The mobile device 406 establishes a connection 400 with a network 408 by exchanging handshake messages. The network 408 can be a Wi-Fi network, a mobile phone network, or other type of communication networks. After the establishment of the connection, the mobile device 406 detects that it established another connection 402 with another network 410. This can happen in various situations. For instance, the mobile device 406 may find itself out of the network 408 because it is no longer able to connect to the network 408. Then the mobile device 406 actively locates the network 410 and initiates the handshake process. Alternatively, the mobile device 406 keeps the connection with the network 408 (e.g. a mobile phone network), and then detects another type of network 410 (e.g. a Wi-Fi network). The mobile device initiates the connection to the network 410 in order to be connected with both networks 408 and 410 (e.g., a mobile phone network and a Wi-Fi network).

The network detections module of the mobile device 406 detects that the mobile device established a new connection with the network 410. The mobile device 406 then reports its network connection status 404 to a cloud storage service 414 via the network 410. Alternatively, the mobile device 406 can also report to the cloud storage service 414 via the network 408 if it still connects with the network 408. The network connection status 404 can include information identifying both the mobile device 406 and the network 410.

Once the cloud storage service 414 receives the network connection status 404, it determines a corresponding OS distribution based on the mobile device 406 and the new connection with the network 410. The cloud storage service 414 transmits the OS distribution 420 to the mobile device 406. Alternatively, the cloud storage service 414 can transmit a location of the OS distribution 420 to the mobile device 406. The mobile device 406 can retrieve the OS distribution 420 based on the received location.

The mobile device 406 loads the OS distribution 420 and starts running the operating system. If the OS distribution 420 is a collection of customized user interface tweaks and pre-loaded applications, the mobile device 406 can load the collection as updates to the currently running operating system without restarting the device or operating system. If the OS distribution 420 is an operating system different from the currently running operating system, the mobile device 406 may need to restart (e.g., reboot) the device and then load the OS distribution 420.

In some embodiments, the mobile device 406 can be connected to both networks 408 and 410 simultaneously. For example, while the mobile device 406 is connected to network 408, e.g., a wireless carrier network, the mobile device 406 can also be connected to another network 410, e.g., wireless local area network (Wi-Fi) such as a home Wi-Fi network or a corporate Wi-Fi network of a corporation where the user works. Various policies can be set in the remote registration service or the cloud storage service that determines whether to update, including uninstall, the distribution of the operating system currently executing on the device, and to determine a specific distribution of the operating system with which the computing device should be updated.

The policies can also let users set priorities for various networks, which determine a specific distribution of the operating system to be installed when the mobile device 406 is connected to more than one network. In some embodiments, a distribution of the operating system corresponding to the network with highest priority among the networks to which the computing device is connected may be selected for installation. For example, when the mobile device 406 connects to network 410 while still being connected to network 408, the operating system may be updated to a distribution that is specific to network 410 if the network 410, e.g., corporate Wi-Fi network has a higher priority than network 408. In another example, the network 410 is, e.g., a home Wi-Fi network may have a lower priority than that of network 408 and therefore, the operating system may not be updated. Further, the policies may be set per user, per categories of user in a corporation, per corporation etc.

Furthermore, a user may customize the policies according to their preferences. For example, a user may define which network has a higher priority when the mobile device 406 connects to two or more networks so that a distribution of the OS corresponding to the highest priority is maintained or installed on the mobile device 406. Such user preferences may be stored in the policies.

In another example, the distribution of the operating system can be restored to the previously installed distribution when the mobile device 406 is not connected to a particular network. For example, when a user of the mobile device 406 walks into the building of his office, the mobile device 406 connects to the corporate Wi-Fi network and the distribution of the operating system is updated accordingly. Similarly, when the user walks out of the building of the organization and out of the coverage area of the corporate Wi-Fi network, for example, travels home, the distribution of the operating system specific to the corporate Wi-Fi network can be uninstalled from the mobile device 406.

Various parameters can be set in the policies based on which the mobile device 406 is considered to be disconnected from a particular network. For example, the mobile device 406 is considered to be disconnected from a particular network if the mobile device 406 did not connect to the particular network for a predefined period of time, if the profile of the particular network is deleted from the mobile device 406, etc.

FIG. 5 illustrates an example of an operating system (OS) loading process 500 based on the identity of the network. The OS loading process 500 starts at step 510, where a computing device starts executing a network identification process. The network identification process can include a device booting process or a network connection process. For instance, the computing device can start booting itself or start connecting a network at step 510. The network identification process can be triggered by various events, e.g., the computing device changing its location, the computing device booting up, a subscriber module of the computing device being replaced or inserted, or a previously scheduled network detecting event. The subscriber module can be a subscriber identification module (SIM) card.

At step 520 of the OS loading process 500, the computing device detects an identity of a network to which the computing device is connected or is to be connected, during the network identification process. The detection of the network can be achieved by examining the subscriber module (e.g. SIM card) electronically connected to the computing device. Alternatively, the detection of the network can be achieved by identifying a radio frequency of the network, or by identifying a service set identification (SSID) of the network or a media access control (MAC) address of a gateway of the network.

Once the network is identified, at step 530, the computing device sends a request including the identity of the network to a remote registration service.

At step 540, the computing device receives an instruction from the remote registration service identifying a distribution of an operating system specific for the network. The instruction from the remote registration service responds to the request that the computer device sends. The instruction can include the location of the distribution of the operating system specific for the network. The distribution of the operating system can be customized based on the identity of the network. Alternatively, the distribution of the operating system can be customized based on both the identity of the network and an identity of a user of the computing device. For instance, the identity of the user can be associated with a corporate account for the user based on the subscriber number of the computing device, the user identity, or the network connected to the computing device.

Based on the received instruction, at step 550, the computing device requests and retrieves the distribution of the operating system, or a difference between the distribution of the operating system and an operating system currently installed on the computing device, from a cloud storage service. In some embodiments, the cloud storage service can share a common cloud service or a common cloud server with the remote registration service. In some alternative embodiments, the cloud storage service can be a dedicated server within the connected network, such as a wireless carrier's network.

After retrieving the OS distribution or the portion of the OS distribution that is different from the currently running OS, at step 560, the computing device loads the distribution of the operating system on the computing device. Such a loading can be a full over-the-air (OTA) update to the operating system that requires a reboot of the computing device. Alternatively, the loading can be an update of OS features (e.g. icons, user interfaces, pre-loaded apps) that does not require a reboot of the computing device.

At step 570, the computing device determines whether the loading requires a device reboot. If the loading requires a device reboot, the computing device reboots the computing device at step 574 and starts the loaded customized OS distribution at 578. If the loading does not require a device reboot, at step 580, the computing device loads the distribution of the operating system on the computing device by applying customized features of the distribution to an operating system currently running on the computing device without restarting the computing device. The customized features can include pre-loaded applications or user interface designs. If the user identity is associated with a corporate account, the computing device can apply user interface settings or load pre-loaded applications specific for the corporate account onto the computing device.

In some embodiments, along with installing an operating system specific to a particular network, a usage profile of the user can also be installed on the computing device. The usage profile can specify files that are likely to be used by the user based on a particular time of the day, week, month etc., a frequency of access of a particular file, when in a geographical location of the particular network etc. Such usage profiles may be generated by various components, including remote registration service, cloud storage service and/or third party components (not illustrated) based on usage pattern of the files by the users collected from their respective computing devices. The files can be retrieved from the cloud storage service and stored in the local storage, e.g., a cache, of the computing device.

The above may be implemented in a scenario where the computing device moves out of a geo fence (e.g. coverage area) of one network into other. For example, when the user moves out of the coverage area of the first wireless carrier network and into the second wireless carrier network, along with the operating system specific to the second wireless carrier network, the user profile specific to the geographical location of the coverage area of the second wireless carrier network may also be installed on the computing device.

FIG. 6 is a high-level block diagram showing an example of the architecture of a computer, which may represent any electronic device or any server within a cloud storage service as described herein. The server 600 includes one or more processors 610 and memory 620 coupled to an interconnect 630. The interconnect 630 shown in FIG. 6 is an abstraction that represents any one or more separate physical buses, point to point connections, or both connected by appropriate bridges, adapters, or controllers. The interconnect 630, therefore, may include, for example, a system bus, a Peripheral Component Interconnect (PCI) bus or PCI-Express bus, a HyperTransport or industry standard architecture (ISA) bus, a small computer system interface (SCSI) bus, a universal serial bus (USB), IIC (I2C) bus, or an Institute of Electrical and Electronics Engineers (IEEE) standard 1394 bus, also called “Firewire”.

The processor(s) 610 is/are the central processing unit (CPU) of the server 600 and, thus, control the overall operation of the server 600. In certain embodiments, the processor(s) 610 accomplish this by executing software or firmware stored in memory 620. The processor(s) 610 may be, or may include, one or more programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), programmable logic devices (PLDs), trusted platform modules (TPMs), or the like, or a combination of such devices.

The memory 620 is or includes the main memory of the server 600. The memory 620 represents any form of random access memory (RAM), read-only memory (ROM), flash memory, or the like, or a combination of such devices. In use, the memory 620 may contain a code 670 containing instructions according to the techniques disclosed herein.

Also connected to the processor(s) 610 through the interconnect 630 are a network adapter 640 and a storage adapter 650. The network adapter 640 provides the server 600 with the ability to communicate with remote devices, over a network and may be, for example, an Ethernet adapter or Fibre Channel adapter. The network adapter 640 may also provide the server 600 with the ability to communicate with other computers. The storage adapter 650 allows the server 600 to access a persistent storage, and may be, for example, a Fibre Channel adapter or SCSI adapter.

The code 670 stored in memory 620 may be implemented as software and/or firmware to program the processor(s) 610 to carry out actions described above. In certain embodiments, such software or firmware may be initially provided to the server 600 by downloading it from a remote system through the server 600 (e.g., via network adapter 640).

The techniques introduced herein can be implemented by, for example, programmable circuitry (e.g., one or more microprocessors) programmed with software and/or firmware, or entirely in special-purpose hardwired circuitry, or in a combination of such forms. Special-purpose hardwired circuitry may be in the form of, for example, one or more application-specific integrated circuits (ASICs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), etc.

Software or firmware for use in implementing the techniques introduced here may be stored on a machine-readable storage medium and may be executed by one or more general-purpose or special-purpose programmable microprocessors. A “machine-readable storage medium”, as the term is used herein, includes any mechanism that can store information in a form accessible by a machine (a machine may be, for example, a computer, network device, cellular phone, personal digital assistant (PDA), manufacturing tool, any device with one or more processors, etc.). For example, a machine-accessible storage medium includes recordable/non-recordable media (e.g., read-only memory (ROM); random access memory (RAM); magnetic disk storage media; optical storage media; flash memory devices; etc.), etc.

The term “logic”, as used herein, can include, for example, programmable circuitry programmed with specific software and/or firmware, special-purpose hardwired circuitry, or a combination thereof.

In addition to the above mentioned examples, various other modifications and alterations of the invention may be made without departing from the invention. Accordingly, the above disclosure is not to be considered as limiting and the appended claims are to be interpreted as encompassing the true spirit and the entire scope of the invention. 

What is claimed is:
 1. A subscriber identity module (SIM) card comprising instructions which, when executed by a computing device in which the SIM card is installed, perform a method of: connecting, upon booting the computing device, the computing device to a first network; receiving, using a remote registration service and in response to connecting to the first network, a first distribution of an operating system (OS) to be installed on the computing device, the first distribution of the OS customized for the first network, the remote registration service configured to determine a specific distribution of the OS to be installed on the computing device based on one or more networks the computing device is connected to; installing the first distribution of the OS on the computing device; detecting, during a network connection process, that the computing device is connected to a second network; receiving, using the remote registration service and in response to connecting to the second network, a second distribution of the OS customized for the second network; installing the second distribution of the OS on the computing device; detecting, during the network connection process, that the computing device disconnected from the second network but is still connected to the first network; and restoring, in response to the disconnection to the second network, the first distribution of the OS on the computing device, the restoring including uninstalling the second distribution of the OS on the computing device.
 2. The SIM card of claim 1, wherein the remote registration service determining a specific distribution of the OS to be installed on the computing device based on one or more networks the computing device is connected to includes: determining, using predefined policies, a specific network of the one or more networks that has a highest priority, and identifying a distribution of the OS corresponding to the specific network, as the specific distribution of the OS to be installed on the computing device.
 3. The SIM card of claim 2, wherein the first network is a wireless carrier network, the second network is a corporate Wi-Fi network of a corporation where a user of the computing device is employed, and the second network has a higher priority than the first network.
 4. The SIM card of claim 3, wherein instructions for receiving the first distribution of the OS using the remote registration service includes: instructions for receiving a location of a cloud storage service that contains the first distribution of the OS, the cloud storage service managed by a provider of the wireless carrier network, the cloud storage service and the remote registration service managed by distinct entities, and instructions for retrieving the first distribution of the OS from the cloud storage service.
 5. The SIM card of claim 3, wherein instructions for receiving the second distribution of the OS using the remote registration service includes: instructions for receiving a location of a cloud storage service that contains the first distribution of the OS, the cloud storage service being managed by the corporation, the corporation managing the cloud storage service and an entity managing the remote registration service being distinct entities, and instructions for retrieving the first distribution of the OS from the cloud storage service.
 6. The SIM card of claim 3, wherein the second distribution of the OS is customized for the corporation and includes any of pre-defined applications or user interface settings specific for the corporation.
 7. The SIM card of claim 1, wherein the network connection process is triggered by at least one of the computing device changing its location, a scheduled network detecting event, when the one or more networks become available for connecting, or when the one or more networks become unavailable.
 8. The SIM card of claim 1, wherein the predefined policies includes policies for determining the specific distribution of the operating system to be installed on the computing device based on user preferences for a particular distribution of the OS.
 9. The SIM card of claim 1 further comprising: instructions for receiving user preferences, at least in part, containing user selection of a particular distribution of the OS when the computing device is connected to the one more networks; and instructions for transmitting the user preferences to the remote registration service.
 10. The SIM card of claim 1, wherein the instructions for detecting that the computing device disconnected from the second network includes: instructions for determining that the computing device is considered to be disconnected from the second network when the second network is not reachable by the computing device for a predefined period of time.
 11. The SIM card of claim 1, wherein the instructions for detecting that the computing device disconnected from the second network includes: instructions for determining that the computing device is considered to be disconnected from the second network when a profile of the second network is deleted from the computing device.
 12. The SIM card of claim 1, wherein the instructions for uninstalling the second distribution of the OS from the computing device includes: instructions for receiving the first distribution of the OS from the remote registration service if the second distribution of the OS is installed as a full image, and instructions for installing the first distribution of the OS on the computing device.
 13. The SIM card of claim 1, wherein instructions for receiving the specific distribution of the OS includes: instructions for transmitting identities of the one or more networks to which the computing device is connected to the remote registration service.
 14. The SIM card of claim 13, wherein instructions for transmitting identities of the one or more networks includes: instructions for transmitting at least one of a service set identification (SSID) of the one or more networks, a media access control (MAC) address of a gateway of the one or more networks or a radio frequency of the one or more networks.
 15. An apparatus for facilitating installation of a customized distribution of an operating system (OS) on a computing device, the apparatus comprising: a processor; a network component configured to communicate with multiple cloud storage servers containing multiple distributions of the OS and with the computing device to facilitate installation of the customized distribution of the OS; and a memory component storing instructions which, when executed by the processor, cause the electronic device to perform a process including: receiving, from the computing device and upon booting of the computing device, an indication that the computing device connected to a wireless carrier network, the indication including an identity of the wireless carrier network, identifying a first distribution of the OS that is customized to the wireless carrier network, the identifying including determining a first cloud storage server of the cloud storage servers that contains the first distribution of the OS, the first cloud storage server managed by a provider of the wireless carrier network, requesting the first cloud storage server to transmit the first distribution of OS to the computing device for installation at the computing device, receiving, from the computing device, an indication that the computing device connected to a corporate Wi-Fi network of a corporation where a user of the computing device is employed, the indication including an identity of the corporate Wi-Fi network, determining, based on predefined policies, that the computing device is to be updated with a second distribution of the OS customized to the corporate Wi-Fi network, identifying the second distribution of the OS that is customized to the corporate Wi-Fi network, the identifying including determining a second cloud storage server of the cloud storage servers that contains the second distribution of the OS, the second cloud storage server managed by the corporation, requesting the second cloud storage server to transmit the second distribution of the OS to the computing device for installation at the computing device, receiving, from the computing device, an indication that the computing device disconnected from the corporate Wi-Fi network but is still connected to the wireless carrier network, and causing, in response to the disconnection to the corporate Wi-Fi network, the computing device to restore the first distribution of the OS by uninstalling the second distribution of the OS.
 16. The apparatus of claim 15, wherein determining, based on predefined policies, that the computing device is to be updated with a second distribution of the OS includes: determining, using the predefined policies, that the corporate Wi-Fi network has a higher priority than that of the wireless carrier network, and identifying the second distribution of the OS corresponding to the corporate Wi-Fi network as a specific distribution of the OS to be installed on the computing device.
 17. The apparatus of claim 15, wherein the memory component further comprises instructions for setting default priority levels to the corporate Wi-Fi network and the wireless carrier network, the corporate Wi-Fi network having a higher priority than that of the wireless carrier network.
 18. The apparatus of claim 15, wherein the memory component further comprises instructions for receiving a priority level of the corporate Wi-Fi network from the corporation and a priority level of the wireless carrier network from the provider of the wireless carrier network.
 19. The apparatus of claim 15, wherein the memory component further comprises instructions for: receiving user preferences containing a user selection of a particular distribution of the OS when the computing device is connected to both the wireless carrier network and the corporate Wi-Fi network, and storing the user preferences as part of the predefined policies.
 20. A method for transmitting a distribution of an operating system (OS) customized for a network provider to a computing device from a cloud storage server of the network provider, the method comprising: receiving, at the cloud storage server when the computing device which is connected to a first network of a different network provider also connects to a second network of the network provider, a request for transmitting the distribution of the OS, the request received from a remote registration service that facilitates installation of a customized distribution of the OS on the computing device, the network provider managing the cloud storage server being distinct from an entity managing the remote registration service; determining, based on predefined policies, whether a user of the computing device is authorized to access the distribution of the OS; and responsive to a determination that the user is authorized to access the distribution of the OS, transmitting the distribution of the OS to the computing device. 